<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="cityList.title"/></title>
    <meta name="heading" content="<fmt:message key='cityList.heading'/>"/>
    <meta name="menu" content="CityMenu"/>
</head>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/cityform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="cityList" class="table" requestURI="" id="cityList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="cityform" media="html"
        paramId="id" paramProperty="id" titleKey="city.id"/>
    <display:column property="id" media="csv excel xml pdf" titleKey="city.id"/>
    <display:column property="name" sortable="true" titleKey="city.name"/>
    <display:column property="code" sortable="true" titleKey="city.code"/>
    <display:column property="descr" sortable="true" titleKey="city.descr"/>


    <display:setProperty name="paging.banner.item_name"><fmt:message key="cityList.city"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="cityList.cities"/></display:setProperty>

  
</display:table>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/cityform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("cityList");
</script> 
